import Vue from 'vue'
import Router from 'vue-router'

import defaultPage from '@/page/default'
import chartsPage from '@/page/charts'

Vue.use(Router);

export default new Router({
    routes: [
        {
            path: '/',
            redirect: {
                name: 'default'
            }
        },
        {
            name : 'default',
            path : '/default',
            component: defaultPage
        },
        {
            name : 'charts',
            path : '/charts',
            component: chartsPage
        }
    ]
});